﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;

namespace Communication
{
    /// <summary>
    /// Event args for recieve
    /// </summary>
    public class RecvEventArgs : EventArgs
    {
        #region Ctor
        public RecvEventArgs(BufferedStream buffer) 
            : base()
        {
            this.m_buffer = buffer;
        }
        #endregion

        #region Properties
        public BufferedStream Buffer
        {
            get { return this.m_buffer; }
        }
        #endregion

        #region Fields
        private BufferedStream m_buffer;
        #endregion
    }
}
